package com.upay.android.domain.rest;

import java.util.ArrayList;

import org.apache.http.NameValuePair;

import com.upay.android.util.rest.RequestMethod;

public class RestRequest {

	/* ---- Constants ---- */
	
	/* ---- Instance Variables ---- */
	private RequestMethod requestMethod = null;
	private String url = null;
	private ArrayList<NameValuePair> params = null;

		
	/* ---- Constructors ---- */
	
	public RestRequest(
	    RequestMethod requestMethod,
	    String url,
	    ArrayList<NameValuePair> params) {
		
		this.requestMethod = requestMethod;
		this.url = url;
		this.params = params;
	}
	
	/* ---- Business Methods ---- */
	
	/* ---- Getters and Setters ---- */

	
	
	/**
	 * @return the requestMethod
	 */
	public RequestMethod getRequestMethod() {
		return requestMethod;
	}
	
	/**
	 * @param requestMethod the requestMethod to set
	 */
	public void setRequestMethod(RequestMethod requestMethod) {
		this.requestMethod = requestMethod;
	}
	
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	
	/**
	 * @return the params
	 */
	public ArrayList<NameValuePair> getParams() {
		return params;
	}
	
	/**
	 * @param params the params to set
	 */
	public void setParams(ArrayList<NameValuePair> params) {
		this.params = params;
	}	
	
}
